package com.lm.guava;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Guava 库提供了一个非常优雅的限流工具类：RateLimiter，它基于令牌桶算法实现，能够轻松限制 QPS（每秒请求数）
 */
@EnableAspectJAutoProxy
@SpringBootApplication
public class GuavaApplication {
    public static void main(String[] args) {
        SpringApplication.run(GuavaApplication.class, args);
    }
}
